<?php

		class Page
	{
  		var $webpage;
		
		function Page()
		{
	        $this->webpage = '';
		}

        function getWebPage()
        {
        	return $this->webpage;
        }

		function setright($rightHeading,$body)
		{
			$this->webpage.=<<<EOD
			<div id="right">
			<headingnew><br>$rightHeading</headingnew>	
				<bodynew><br><br><br>$body</bodynew>
		    </div>	
EOD;
		}
	
		function setleft($leftHeading,$pic)
		{
			$this->webpage.=<<<EOD
			<div id="left">
				<headingnew><br>$leftHeading</headingnew>	
				<bodynew>$pic</bodynew>
			</div>
EOD;
		}
		
		function threecolumns($test)
		{
			if ($test==1)
			{
				$this->webpage .= <<<EOD
				<div id="content">
EOD;
			}
			else
			{
				$this->webpage .= <<<EOD
				<div class="clear"></div>
				</div>
				
EOD;
			}
		}

        function startPage($hmm)
        {
			$this->webpage .= <<<EOD
			<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
			<html xmlns="http://www.w3.org/1999/xhtml">
			<head>
			<link href='http://fonts.googleapis.com/css?family=Holtwood+One+SC' rel='stylesheet' type='text/css'>
			<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<title>Manna Fighters</title>
	
	<link href="css/style.css" rel="stylesheet" type="text/css" />

	<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
	<script type="text/javascript" src="js/fadeslideshow.js"></script>
	
	
		$hmm

			</head>
			                 
			<body>
			
				<div id="container">
				
				<div id="main">
				
		    	<ah>
			
				 MANNA FIGHTERS
				<br><br>
				</ah>
				

			
EOD;

        }

		function endPage()
        {
		
			$this->webpage .= <<<EOD
			</div>
			</body>
			</html>
EOD;
        }

		function header()
		{
			
			
			$this->webpage.= <<<EOD
			<div id=
				<script type="text/javascript"></script>

<script type="text/javascript" src="fadeslideshow.js">

/***********************************************
* Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/

</script>

<script type="text/javascript">

var mygallery=new fadeSlideShow({
	wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
	dimensions: [800, 350], //width/height of gallery in pixels. Should reflect dimensions of largest image
	imagearray: [
		
		["images/header/page_header/pic11.gif"],
		["images/header/page_header/pic22.gif"],
		["images/header/page_header/pic19.gif"] 
	],
	displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false},
	persist: false, //remember last viewed slide and recall within same session?
	fadeduration: 500, //transition duration (milliseconds)
	descreveal: "ondemand",
	togglerid: ""
})




</script>

<div id="fadeshow1"></div>

<br />

<div id="fadeshow2"></div>


	</div>
		<div id="nav">
			<ul>
				<li><a href="index.php">Home</a></li>
				<li><a href="articles.php">Articles</a></li>
				<li><a href="photo.html">Photos</a></li>
				<li><a href="video.php">Videos</a></li>
				<li><a href="aboutus.php">About Us</a></li>
				<li><a href="contactus.php">Contact Us</a></li>
			</ul>
		</div>
			
EOD;
		
		}
		
		function footer()
		{

			$this->webpage.=<<<EOD
			

			</div>
			<div id="footer">
		<ul>
			<li><a href="index.php">Home</a></li> | 
			<li><a href="articles.php">Articles</a></li> | 
			<li><a href="photo.html">Photos</a></li>| 
			<li><a href="video.php">Videos</a></li> | 
			<li><a href="aboutus.php">About us</a></li> | 
			<li><a href="contactus.php">Contact us</a></li>
		</ul>
		<span>Copyrights 2011 All Rights Reserved To Manna Fighters</span>
	</div>
EOD;
		}
	}
?>










